package com.wrupple.muba.catalogs.client.module.services.logic;

import java.util.List;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.event.shared.EventBus;
import com.wrupple.muba.catalogs.domain.CatalogEntry;
import com.wrupple.muba.common.domain.FilterData;
import com.wrupple.muba.common.shared.StateTransition;
import com.wrupple.vegetate.domain.CatalogDescriptor;

public interface EntryRetrivingService {

	void retriveEntryById(String entryId, String catalogid, StateTransition<? extends JavaScriptObject> onDone, EventBus eventBus);

	void retriveFilteredEntries(CatalogDescriptor catalog, FilterData filter,
			StateTransition<List<CatalogEntry>> callback, EventBus eventBus);

	void retriveFilteredEntries(String catalog, FilterData filter, StateTransition<List<? extends JavaScriptObject>> callback, EventBus eventBus);

	void retriveFilteredSummaryEntries(String catalog, FilterData filter, StateTransition<List<? extends JavaScriptObject>> callback, EventBus eventBus);

}
